﻿using StarcraftTroopers.Abstractions;
using StarcraftTroopers.Units;
using System;
using System.Collections.Generic;
using System.Text;

namespace StarcraftTroopers.Troops
{
   public class TvTArmyFactory: IArmyFactory
    {
        public TvTArmyFactory()
        {
            Console.WriteLine("当前使用的战术可以应付TvT。");
        }
        // 空中单位是隐飞  
        public IAirUnit createAirUnit()
        {
            return new Wraith();
        }
        // 主攻单位是坦克  
        public IAttackUnit createAttackUnit()
        {
            return new Tank();
        }
        // 医疗单位是SCV  
        public IMedicalUnit createMedicalUnit()
        {
            return new SCV();
        }
    }
}
